package com.aizuda.boot.modules.common.constant.enums;

/**
 * 与父条件的逻辑关系枚举
 */
public enum RelationToParentEnum {
    AND("AND", "与"),
    OR("OR", "或");

    private final String code;
    private final String msg;

    RelationToParentEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
} 